package com.woniuxy.service.Impl;

import com.ruoyi.common.core.domain.AjaxResult;
import com.woniuxy.dao.LoanProInfoDao;
import com.woniuxy.entity.LoanProInfo;
import com.woniuxy.service.LoanProInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class LoanProInfoServiceImpl implements LoanProInfoService {

    @Autowired
    LoanProInfoDao loanProInfoDao;
    @Override
    public AjaxResult findAll() {
        List<LoanProInfo> all=loanProInfoDao.findAll();
        System.out.println(all);
        return new AjaxResult(200,"success",all);
    }
}
